package com.cljz.makepassenger.model.net.bean;

import cn.droidlover.xdroidmvp.net.IModel;

/**
 * Created by CLJZ on 2017/6/14.
 */

public class WXPayBean implements IModel{


    /**
     * error_code : 1001
     * msg :
     * data : {"return_code":"SUCCESS","return_msg":"参数错误:输入的用户openid有误.","result_code":"FAIL","err_code":"PARAM_ERROR","err_code_des":"参数错误:输入的用户openid有误."}
     */

    private String error_code;
    private String msg;
    private DataBean data;

    @Override
    public boolean isNull() {
        return false;
    }

    @Override
    public boolean isAuthError() {
        return false;
    }

    @Override
    public boolean isBizError() {
        return false;
    }

    @Override
    public String getErrorMsg() {
        return null;
    }

    public String getError_code() {
        return error_code;
    }

    public void setError_code(String error_code) {
        this.error_code = error_code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * return_code : SUCCESS
         * return_msg : 参数错误:输入的用户openid有误.
         * result_code : FAIL
         * err_code : PARAM_ERROR
         * err_code_des : 参数错误:输入的用户openid有误.
         */

        private String return_code;
        private String return_msg;
        private String result_code;
        private String err_code;
        private String err_code_des;

        public String getReturn_code() {
            return return_code;
        }

        public void setReturn_code(String return_code) {
            this.return_code = return_code;
        }

        public String getReturn_msg() {
            return return_msg;
        }

        public void setReturn_msg(String return_msg) {
            this.return_msg = return_msg;
        }

        public String getResult_code() {
            return result_code;
        }

        public void setResult_code(String result_code) {
            this.result_code = result_code;
        }

        public String getErr_code() {
            return err_code;
        }

        public void setErr_code(String err_code) {
            this.err_code = err_code;
        }

        public String getErr_code_des() {
            return err_code_des;
        }

        public void setErr_code_des(String err_code_des) {
            this.err_code_des = err_code_des;
        }
    }
}
